#!/usr/bin/env python
import pysvn
import os
import sys

def checkout(url,topath):
	print "svn checkout: %s to %s" % (url,topath)
	client =  pysvn.Client( "" )
	client.checkout(url,topath,True)
	print os.path.exists(topath)

if sys.argv.count > 3:
   checkout(sys.argv[1],sys.argv[2])
   sys.exit()

